<template>
    <div class="p-wrapper">
        <div class="n1">{{ info.num1 || '' }}</div>
        <div class="n2">{{ info.name1 || '' }}</div>
        <div class="n3">{{ info.num2 || '' }}</div>
        <div class="n4">{{ info.name2 || '' }}</div>
    </div>
</template>

<script>
export default {
    props: {
        info: {
            type: Object,
            default: () => ({})
        },
    },
    data() {
        return {

        };
    },
    methods: {

    },
};
</script>

<style scoped>
/* Your styles here */
.p-wrapper {
    width: 105px;
    height: 165px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(../assets/pimg.png);
    background-size: contain;
    position: relative;
}

.n1 {
    margin-top: 30px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
    height: 25px;
    line-height: 25px;
    color: #fff;
}

.n2 {
    margin-top: 15px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
    height: 25px;
    line-height: 25px;
    color: #fff;
}

.n3 {
    margin-top: 5px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
    height: 25px;
    line-height: 25px;
    color: #fff;
}

.n4 {
    margin-top: 5px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
    height: 25px;
    line-height: 25px;
    color: #fff;
}
</style>